package com.feizi.entity;

public class OrderdetailEntity {
	private int id;//订单详情ID
	private int f_pid;//商品的id外键
	private String f_orderid;//订单号(外键，关联订单主表的订单号)
	private double price;//单件商品的价格
	private int count;//商品的数量
	private double totalprice;//小计
	private String size;//商品的尺寸
	private String pname;
	private String img;
	private int status;//是否评价
	public int getStatus() {
		return status;
	}
	public void setStatus(int status) {
		this.status = status;
	}
	public String getPname() {
		return pname;
	}
	public void setPname(String pname) {
		this.pname = pname;
	}
	public String getImg() {
		return img;
	}
	public void setImg(String img) {
		this.img = img;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public int getF_pid() {
		return f_pid;
	}
	public void setF_pid(int f_pid) {
		this.f_pid = f_pid;
	}
	public String getF_orderid() {
		return f_orderid;
	}
	public void setF_orderid(String f_orderid) {
		this.f_orderid = f_orderid;
	}
	public double getPrice() {
		return price;
	}
	public void setPrice(double price) {
		this.price = price;
	}
	public int getCount() {
		return count;
	}
	public void setCount(int count) {
		this.count = count;
	}
	public double getTotalprice() {
		return totalprice;
	}
	public void setTotalprice(double totalprice) {
		this.totalprice = totalprice;
	}
	public String getSize() {
		return size;
	}
	public void setSize(String size) {
		this.size = size;
	}
	public OrderdetailEntity(int id, int f_pid, String f_orderid, double price, int count,
			double totalprice, String size) {
		super();
		this.id = id;
		this.f_pid = f_pid;
		this.f_orderid = f_orderid;
		this.price = price;
		this.count = count;
		this.totalprice = totalprice;
		this.size = size;
	}
	public OrderdetailEntity(int id, String f_orderid, double price, int count, double totalprice,
			String size) {
		super();
		this.id = id;
		this.f_orderid = f_orderid;
		this.price = price;
		this.count = count;
		this.totalprice = totalprice;
		this.size = size;
	}
	public OrderdetailEntity(int id, int f_pid, String f_orderid, double price, int count, double totalprice,
			String size, String pname, String img, int status) {
		super();
		this.id = id;
		this.f_pid = f_pid;
		this.f_orderid = f_orderid;
		this.price = price;
		this.count = count;
		this.totalprice = totalprice;
		this.size = size;
		this.pname = pname;
		this.img = img;
		this.status = status;
	}
	public OrderdetailEntity() {
		super();
	}
	@Override
	public String toString() {
		return "OrderdetailEntity [id=" + id + ", f_pid=" + f_pid + ", f_orderid=" + f_orderid + ", price=" + price
				+ ", count=" + count + ", totalprice=" + totalprice + ", size=" + size + ", pname=" + pname + ", img="
				+ img + ", status=" + status + "]";
	}
	
}
